<?php
/**
 * ExtMenuItem class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtMenuItem extends ExtMenuBaseItem
{
    /**
     * Gets the value of ExtJS canActivate property
     * @return Boolean 
     */
    public function getCanActivate()
    {
    	return $this->getConfig("canactivate");
    }

    /**
     * Sets the value of ExtJS canActivate property
     * @param Boolean $value 
     */
    public function setCanActivate($value)
    {
    	$this->setConfig("canactivate",$value);
    }

    /**
     * Gets the value of ExtJS href property
     * @return String 
     */
    public function getHref()
    {
    	return $this->getConfig("href");
    }

    /**
     * Sets the value of ExtJS href property
     * @param String $value 
     */
    public function setHref($value)
    {
    	$this->setConfig("href",$value);
    }

    /**
     * Gets the value of ExtJS hrefTarget property
     * @return String 
     */
    public function getHrefTarget()
    {
    	return $this->getConfig("hreftarget");
    }

    /**
     * Sets the value of ExtJS hrefTarget property
     * @param String $value 
     */
    public function setHrefTarget($value)
    {
    	$this->setConfig("hreftarget",$value);
    }

    /**
     * Gets the value of ExtJS icon property
     * @return String 
     */
    public function getIcon()
    {
    	return $this->getConfig("icon");
    }

    /**
     * Sets the value of ExtJS icon property
     * @param String $value 
     */
    public function setIcon($value)
    {
    	$this->setConfig("icon",$value);
    }

    /**
     * Gets the value of ExtJS iconCls property
     * @return String 
     */
    public function getIconCls()
    {
    	return $this->getConfig("iconcls");
    }

    /**
     * Sets the value of ExtJS iconCls property
     * @param String $value 
     */
    public function setIconCls($value)
    {
    	$this->setConfig("iconcls",$value);
    }

    /**
     * Gets the value of ExtJS itemCls property
     * @return String 
     */
    public function getItemCls()
    {
    	return $this->getConfig("itemcls");
    }

    /**
     * Sets the value of ExtJS itemCls property
     * @param String $value 
     */
    public function setItemCls($value)
    {
    	$this->setConfig("itemcls",$value);
    }

    /**
     * Gets the value of ExtJS showDelay property
     * @return Number 
     */
    public function getShowDelay()
    {
    	return $this->getConfig("showdelay");
    }

    /**
     * Sets the value of ExtJS showDelay property
     * @param Number $value 
     */
    public function setShowDelay($value)
    {
    	$this->setConfig("showdelay",$value);
    }

    /**
     * Gets the value of ExtJS text property
     * @return String 
     */
    public function getText()
    {
    	return $this->getConfig("text");
    }

    /**
     * Sets the value of ExtJS text property
     * @param String $value 
     */
    public function setText($value)
    {
    	$this->setConfig("text",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'canactivate' => 'canActivate',
            'hreftarget' => 'hrefTarget',
            'iconcls' => 'iconCls',
            'itemcls' => 'itemCls',
            'showdelay' => 'showDelay'
        ));



        $this->setXType('menuitem');
        $this->setXClass('Ext.menu.Item');
    }    
}
?>